package ooday02;

public class Chick extends Dog{
    Chick(String name, int age, String color) {
        super(name, age, color);
    }
    void dnowEggs(){
        System.out.println(age+"岁的"+color+"小鸡"+name+"正在下蛋");
    }
    void eat(){
        System.out.println(age+"岁的"+color+"小鸡"+name+"正在吃虫子");
    }
}
